package com.zgys.project_mgr.server.model.po;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;



/**
 * @author wx
 * @date 2018-09-29 14:49:42
 */
@ApiModel(value = "ServerPo", description = "")
public class ServerPo implements Serializable {
	private static final long serialVersionUID = 1L;

    @ApiModelProperty(name = "id",value = "")
	private Integer id;
    @ApiModelProperty(name = "ip",value = "")
	private String ip;
    @ApiModelProperty(name = "authType",value = "")
	private Integer authType;
    @ApiModelProperty(name = "password",value = "")
	private String password;
    @ApiModelProperty(name = "cpu",value = "")
	private Integer cpu;
    @ApiModelProperty(name = "memory",value = "")
	private Double memory;
    @ApiModelProperty(name = "storage",value = "")
	private Double storage;
    @ApiModelProperty(name = "externalFlag",value = "")
	private Integer externalFlag;
    @ApiModelProperty(name = "serverType",value = "")
	private Integer serverType;
    @ApiModelProperty(name = "creator",value = "")
	private String creator;
    @ApiModelProperty(name = "createDate",value = "")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createDate;
    @ApiModelProperty(name = "updator",value = "")
	private String updator;
    @ApiModelProperty(name = "updateDate",value = "")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date updateDate;

	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：
	 */
	public void setIp(String ip) {
		this.ip = ip;
	}
	/**
	 * 获取：
	 */
	public String getIp() {
		return ip;
	}
	/**
	 * 设置：
	 */
	public void setAuthType(Integer authType) {
		this.authType = authType;
	}
	/**
	 * 获取：
	 */
	public Integer getAuthType() {
		return authType;
	}
	/**
	 * 设置：
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	/**
	 * 获取：
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * 设置：
	 */
	public void setCpu(Integer cpu) {
		this.cpu = cpu;
	}
	/**
	 * 获取：
	 */
	public Integer getCpu() {
		return cpu;
	}
	/**
	 * 设置：
	 */
	public void setMemory(Double memory) {
		this.memory = memory;
	}
	/**
	 * 获取：
	 */
	public Double getMemory() {
		return memory;
	}
	/**
	 * 设置：
	 */
	public void setStorage(Double storage) {
		this.storage = storage;
	}
	/**
	 * 获取：
	 */
	public Double getStorage() {
		return storage;
	}
	/**
	 * 设置：
	 */
	public void setExternalFlag(Integer externalFlag) {
		this.externalFlag = externalFlag;
	}
	/**
	 * 获取：
	 */
	public Integer getExternalFlag() {
		return externalFlag;
	}
	/**
	 * 设置：
	 */
	public void setServerType(Integer serverType) {
		this.serverType = serverType;
	}
	/**
	 * 获取：
	 */
	public Integer getServerType() {
		return serverType;
	}
	/**
	 * 设置：
	 */
	public void setCreator(String creator) {
		this.creator = creator;
	}
	/**
	 * 获取：
	 */
	public String getCreator() {
		return creator;
	}
	/**
	 * 设置：
	 */
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	/**
	 * 获取：
	 */
	public Date getCreateDate() {
		return createDate;
	}
	/**
	 * 设置：
	 */
	public void setUpdator(String updator) {
		this.updator = updator;
	}
	/**
	 * 获取：
	 */
	public String getUpdator() {
		return updator;
	}
	/**
	 * 设置：
	 */
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	/**
	 * 获取：
	 */
	public Date getUpdateDate() {
		return updateDate;
	}
}
